package com.example.smartcommunity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

public class ShezhiActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.layout_shezhi);
        TextView yjfk=findViewById(R.id.yjfk);
        TextView zhyaq=findViewById(R.id.zhyaq);
        TextView qdtx=findViewById(R.id.qdtx);
        TextView yszz=findViewById(R.id.yszz);
        ImageView back=findViewById(R.id.back);
        zhyaq.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(getApplicationContext() , ZhyaqActivity.class);
                startActivity(intent);
            }
        });
        yjfk.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(getApplicationContext() , JyActivity.class);
                startActivity(intent);
            }
        });
        back.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                finish();
            }
        });
        yszz.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {

                Intent intent = new Intent(getApplicationContext() , YszzActivity.class);
                startActivity(intent);
            }
        });
        qdtx.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent = new Intent(getApplicationContext() , QdtxActivity.class);
                startActivity(intent);
            }
        });
    }
}
